package com.yootk;
import java.io.*;
public class YookDemo6 {
    public static void main(String [] args) throws Exception{
        File file = new File("D"+File.separator + "muyan" + File.separator + "vip" +
                File.separator + "yootk.txt");
        if (!file.getParentFile().exists()){
            file.getParentFile().mkdir();
        }
        OutputStream output = new FileOutputStream(file);
        String message = "www.yootk.com";
        byte data [] = message.getBytes();
        output.write(data);
        output.close();
    }
}